//将对象的value由number类型转换为字符串类型
export const objectValueNumberToString = (object)=> {
    if (Object.prototype.toString.call(object) === '[object Object]') {
        const keys = Object.keys(object);
        keys.forEach((itemKey, index) => {
            if (typeof object[itemKey] == 'number') {
                //将number类型的转换为字符串
                object[itemKey] = String(object[itemKey])
            }
        })
    }
    return object
}

export default {
    objectValueNumberToString
}